function getProbabilities(bnet)
    
    source1={'FATIGUE', 'ATTENTION_DISORDER'};
    source2={'COUGHING', 'SMOKING'};
    target={'CANCER','CAR_ACCIDENT'};
    
    for(n=1:2)
        for(i=1:2)
            for(j=1:2)
                pres1='';
                pres2='';
                if(i==1)
                    pres1='!';
                end;
                if(j==1)
                    pres2='!';
                end;
                str=['(',target{n},'|',pres1,source1{n},'&',pres2,source2{n},')'];
				disp(str);
                evidence=cell(1,12);
                evidence{bnet.names(source1{n})}=i;
                evidence{bnet.names(source2{n})}=j;
                predict(bnet, evidence, target{n})
            end;
        end;
    end;
    
    %evidence=cell(1,12)
    %evidence{bnetTrained.names('FATIGUE')}=true;
    %evidence{bnetTrained.names('FATIGUE')}=true;
    %predict(bnetTrained, evidence, 'CANCER');
end